#ifndef MATCHALARMREPORTRESPONSE_H
#define MATCHALARMREPORTRESPONSE_H

#include "BaseResponse.h"

class MatchAlarmReportResponse : public BaseResponse
{
public:
    MatchAlarmReportResponse()=default;
    MatchAlarmReportResponse(const QString& factoryNo,const QString& transId,const QString& eventTime,const QString& resultCode,const QString& resultMsg);
    // BaseResponse interface
    bool fromJson(const QByteArray &jsonData) override;
    bool isSuccess() const override{return success;}
    QString getError() const override{return resultMsg;}
public:
    QString factoryNo;
    QString transId;
    QDateTime eventTime;
    QString resultCode;
    QString resultMsg;

private:
    bool success;
};

#endif // MATCHALARMREPORTRESPONSE_H
